﻿using DevExpress.XtraEditors;
using System;
using Ersur.DevTeam;

namespace Ersur
{
    public partial class NewOrder : XtraForm
    {
        public NewOrder()
        {
            InitializeComponent();
        }

        public string Contact { get { return txtContact.Text; } }
        public string Brand { get { return txtBrand.Text; } }
        public string Address { get { return txtAddress.Text; } }
        public string Phone { get { return txtPhone.Text; } }        
        public string Email { get { return txtEmail.Text; } }

        private void btnAdd_Click(object sender, EventArgs e)
        {
            AppSession.MainForm.ShowMdiChildForm(typeof(Orders));
        }     
    }
}